<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格</title>
    <link rel="stylesheet" href="table.css">
</head>
<body>
    <table border="1">
        <caption>产品月销量</caption>
        <thead>
            <th>ID</th>
            <th>产品名称</th>
            <th>销量</th>
        </thead>
        <tbody>
            <tr>
                <th>2021090901</th>
                <th>马克杯</th>
                <th>5000</th>
            </tr>
            <tr>
                <th>2021090901</th>
                <th>啤酒杯</th>
                <th>5200</th>
            </tr>
            <tr>
                <th>2021090901</th>
                <th>搪瓷杯</th>
                <th>3500</th>
            </tr>
        </tbody>
        <tfoot>
            <td colspan="2">合计</td>
            <th>13700</th>
        </tfoot>
    </table>
</body>
</html>